You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLValue Class > TOpenCLValue Methods > TOpenCLValue.ThreshBottom Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLValue.ThreshBottom Method

Threshold bottom operation.

Syntax
C#
Visual Basic
public TOpenCLValue ThreshBottom([In] TOpenCLValue Src, double Value);

Perform threshold operation on Src. The Value parameter is a lower bound for the threshold operation. Src value smaller than Value will be replaced with Value.

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TOpenCLValue a, b; clMtxVec.CreateIt(out a, out b); try { b.Copy(0.1); a.ThreshBottom(b, 0.2); // a = [0.2] } finally { clMtxVec.FreeIt(ref a, ref b); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!